package com.zhiwei.codesecurity.web.api.taskmanage.request;

import com.zhiwei.codesecurity.common.base.BaseEntity;

import javax.validation.constraints.NotNull;

public class CancelScanReq extends BaseEntity {
    private static final long serialVersionUID = 999360410075711124L;

    /**
     * 扫描引擎接口ID
     */
    @NotNull(message = "扫描引擎接口ID不能为空!")
    private String interfaceId;

    /**
     * 任务执行ID
     */
    @NotNull(message = "任务执行ID不能为空!")
    private String runId;

    public String getRunId() {
        return runId;
    }

    public void setRunId(String runId) {
        this.runId = runId;
    }

    public String getInterfaceId() {
        return interfaceId;
    }

    public void setInterfaceId(String interfaceId) {
        this.interfaceId = interfaceId;
    }
}
